<template>
	<view class="u-demo">
		<view class="u-demo-title">
			{{content.title}}
		</view>
		<view class="">
			活动开始时间：{{content.startAt}}
		</view>
		<view class="">
			人员要求：{{content.requireText}}
		</view>
		<view class="">
			承办单位：{{content.undertaker}}
		</view>
		<view class="">
			工作内容：{{content.detail}}
		</view>
		<view class="" v-html="content.detail">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				base: 'http://10.50.170.216:10001',
				content:''
			}
		},
		onLoad(options) {
			this.base =uni.getStorageSync('serIP')
			this.getlun(options.id)
		},
		methods: {
			getlun(id){
				this.$get(this.base+'/prod-api/api/volunteer-service/activity/'+id).then((res)=>{
					this.content = res.data			
				})
			}
		}
	}
</script>

<style>

</style>
